home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / programs / internet / tcp / server / amislate1.1.lha / AmiSlate / ExampleRexx / remotestringreq.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1995-03-24  |  446 b   |  11 lines

  1. /* An ARexx script to demonstrate how to use RemoteStringRequest
  2.    to get a string of information from the remote user.  */
  3. parse arg CommandPort ActiveString
  4.  
  5. address (CommandPort)
  6. options results
  7.  
  8. RemoteStringRequest '"'||"Remote Rexx Request"||'"' '"'||"Blade Runner"||'"' '"'||"What is your favorite movie??"||'"' 
  9. WaitEvent MESSAGE stem answ.
  10. EasyRequest "Answer" '"'||"The Remote User's favorite movie is: "answ.message||'"' "Interesting"
  11.